package kr.co.hanbit;

public class AutoboxingEx1 {
	
	Integer var;
	public void setInt(int i) {
	var = new Integer(i);
	
	}
     public Integer getInt() {
    	 return var;
    	 
	}
     
	
	public static void main(String[] args) {
		AutoboxingEx1 a1 = new AutoboxingEx1();
		a1.setInt(10000);;
		Integer temp = a1.getInt();
		int res = temp.intValue();
		System.out.println("res:"+res);
		
		
		
		
	}

}
